<div class="admin-content">
    <div class="am-cf am-padding">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">优惠活动</strong> :
            <small>修改活动</small>
        </div>
    </div>
    <form class="am-form">
       <!-- <div class="am-g am-margin-top">
            <div class="am-u-sm-5 am-u-md-4 am-text-right">
                {{adviseactivity.activitytitle}}
            </div>
            <div class="am-hide-sm-only am-u-md-6"></div>
        </div>-->
        <div class="am-g am-margin-top"  >
            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                活动id
            </div>
            <div class="am-u-sm-8 am-u-md-4">
                <input   type="text"  class="am-input-sm"  ng-model="activity.activityid" placeholder="{{adviseactivity.activityid}}" disabled>
            </div>
            <div class="am-hide-sm-only am-u-md-6"></div>
        </div>


        <div class="am-g am-margin-top"  >
            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                活动标题
            </div>
            <div class="am-u-sm-8 am-u-md-4">
                <input   type="text"  class="am-input-sm"  ng-model="adviseactivity.activitytitle">
            </div>
            <div class="am-hide-sm-only am-u-md-6"></div>
        </div>

        <div class="am-g am-margin-top"  >
            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                活动副标题
            </div>
            <div class="am-u-sm-8 am-u-md-4">
                <input   type="text"  class="am-input-sm"  ng-model="adviseactivity.activitysubhead">
            </div>
            <div class="am-hide-sm-only am-u-md-6"></div>
        </div>

        <div class="am-g am-margin-top">
            <div class="am-u-sm-4 am-u-md-2 am-text-right">
               使用城市
            </div>
            <div class="am-u-sm-8 am-u-md-4">
                <input   type="text"  class="am-input-sm"  ng-model="adviseactivity.activitycity">
            </div>
            <div class="am-hide-sm-only am-u-md-6"></div>
        </div>

        <div class="am-g am-margin-top">
            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                开始时间
            </div>
            <div class="am-u-sm-8 am-u-md-4">
                <input placeholder = "{{adviseactivity.activitystarttime | date:'yyyy-MM-dd HH:mm:ss' }}"  id="advisestarttime" type="text"  class="am-input-sm" ng-model="adviseactivity.starttime">
            </div>
            <div class="am-hide-sm-only am-u-md-6"></div>
        </div>
        <div class="am-g am-margin-top">
            <div class="am-u-sm-4 am-u-md-2 am-text-right">
               结束时间
            </div>
            <div class="am-u-sm-8 am-u-md-4">
                <input  placeholder = "{{adviseactivity.activityterminationtime | date:'yyyy-MM-dd HH:mm:ss' }}"  id="adviseendtime" type="text"   class="am-input-sm"  ng-model="adviseactivity.endtime ">
            </div>
            <div class="am-hide-sm-only am-u-md-6"></div>
        </div>
        <div class="am-g am-margin-top">
            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                活动满减
            </div>
            <div class="am-u-sm-8 am-u-md-4">
                <span style="color: #009cda">金额满</span><input type="text" class="am-input-sm"  ng-model="adviseactivity.activityfullcut" >
            </div>
            <div class="am-hide-sm-only am-u-md-6"></div>
        </div>
        <div class="am-g am-margin-top">
            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                满减金额/打折
            </div>
            <div class="am-u-sm-8 am-u-md-2">
                <select  type="text"  class="  am-input-sm" ng-change="advisechose(adviseactivity.stack)" ng-model='adviseactivity.stack'>
                    <option value=''  ng-show="adviseselect" >{{adviseactivity.defaultchoise}}</option>
                    <option value='1'>活动打折</option>
                    <option value='2'>活动金额</option>
                    <option value='3'>活动打折及送物品</option>
                    <option value='4'>活动金额及送物品</option>
                    <option value='5'>只送物品</option>
                </select>
            </div>
            <div style="margin-left: -3%; width: 19.5%" class="am-u-sm-8 am-u-md-2">
                <input  placeholder="{{deviseplaceholder}}" type="text" class="am-input-sm"  ng-hide="adviseprice" ng-model="adviseactivity.price">
            </div>
            <div class="am-hide-sm-only am-u-md-6"></div>
        </div>


        <div class="am-g am-margin-top"  ng-hide="advisegoods" >
            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                赠送物品
            </div>
            <div class="am-u-sm-8 am-u-md-4">
                <input   type="text"  class="am-input-sm"  ng-model="adviseactivity.activitygoods">
            </div>
            <div class="am-hide-sm-only am-u-md-6"></div>
        </div>

        <div class="am-g am-margin-top">
            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                活动次数
            </div>
            <div class="am-u-sm-8 am-u-md-4">
                <input type="text" class="am-input-sm" ng-model="adviseactivity.activityfrequency">
            </div>
            <div class="am-hide-sm-only am-u-md-6"></div>
        </div>
        <div class="am-g am-margin-top">
            <div class="am-u-sm-4 am-u-md-2 am-text-right">
                活动是否叠加
            </div>
            <div class="am-u-sm-8 am-u-md-4">
                <select  type="text" class="am-input-sm" ng-model="adviseactivity.orfial" >
                    <option value='' ng-show="vilible" selected="selected">{{adviseactivity.advisecondition}}</option>
                    <option value='1' selected="selected">活动不可叠加</option>
                    <option value='2' >活动可叠加</option>
                </select>
            </div>
            <div class="am-hide-sm-only am-u-md-6"></div>
        </div>
    </form>
    </br>
    <div class="am-form-group">
        <div class="am-u-sm-10 am-u-sm-offset-2">
            <button type="submit" style="width: 100px" class="am-btn am-btn-primary" ng-click="activityadvise(adviseactivity)">修改
            </button>
        </div>
    </div>

</div>